package com.jintu.portal.repository.mysql.mapper;

import com.jintu.portal.pojo.entity.mysql.ScoreCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author very
 */
@Mapper
public interface ScoreCardMapper {

    public ScoreCard queryMyselfScoreCardByCode(@Param("scoreCardCode") String scoreCardCode,
                                                @Param("userId") Integer userId);
    public ScoreCard queryOthersScoreCardByCode(@Param("scoreCardCode") String scoreCardCode,
                                                @Param("username") String username);
}
